<%@ page language="java" isELIgnored="false" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>

<html>
    <head>
        <title>自定义MVC result POJO类型</title>
        <style>
            div{
                padding: 10px 10px 0 10px;
            }
        </style>
    </head>
    <body>
        <h3>自定义MVC  result  POJO类型</h3>
        <fieldset>
            <table border="1">
                <tr>
                    <th>姓名</th>
                    <th>年龄</th>
                </tr>
                <tr>
                    <td><%= request.getAttribute("user.name") %></td>
                    <td><%= request.getAttribute("user.age") %></td>
                </tr>
            </table>
        </fieldset>
    </body>
</html>
